package com.ziyun.pop.modules.goodsCraftPrice.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 商品模板表
 * 
 * @author xueqz
 * @email 
 * @date 2018-08-20 09:57:04
 */
@TableName("goods_template")
public class GoodsTemplateEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 模板id
	 */
	@TableId
	private Long templateId;
	/**
	 * 模板名称
	 */
	private String templateName;
	/**
	 * 属性id集合
	 */
	private String attributeIds;
	/**
	 * 创建人
	 */
	private String createName;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 是否删除
	 */
	private Boolean disabled;
	/**
	 *规格工艺影响算价集
	 */
	private String influenceCraftIds;
	/**
	 *旧系统数据表示
	 */
	private Boolean dateFlag;
	/**
	 *影响sku总价计算的规格
	 */
	private long influenceSkuTotalPrice;

	/**
	 * 模板内工艺集
	 */
	private String craftIds;

	public Boolean getDateFlag() {
		return dateFlag;
	}

	public void setDateFlag(Boolean dateFlag) {
		this.dateFlag = dateFlag;
	}

	/**
	 * 规格名称
	 */
	@TableField(exist = false)
	private String attributeNames;
	/**
	 * 是否含工艺
	 */
	@TableField(exist = false)
	private Boolean includCraft;
	/**
	 * 分类id
	 */
	@TableField(exist = false)
	private Integer categoryId;
	/**
	 * 模板绑定的所有选项id
	 */
	private String optionJson;
	/**
	 * 设置：模板id
	 */
	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}
	/**
	 * 获取：模板id
	 */
	public Long getTemplateId() {
		return templateId;
	}
	/**
	 * 设置：模板名称
	 */
	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}
	/**
	 * 获取：模板名称
	 */
	public String getTemplateName() {
		return templateName;
	}
	/**
	 * 设置：属性id集合
	 */
	public void setAttributeIds(String attributeIds) {
		this.attributeIds = attributeIds;
	}
	/**
	 * 获取：属性id集合
	 */
	public String getAttributeIds() {
		return attributeIds;
	}
	/**
	 * 设置：创建人
	 */
	public void setCreateName(String createName) {
		this.createName = createName;
	}
	/**
	 * 获取：创建人
	 */
	public String getCreateName() {
		return createName;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public String getCreateTime() {
		return createTime;
	}

	public Boolean getDisabled() {
		return disabled;
	}

	public void setDisabled(Boolean disabled) {
		this.disabled = disabled;
	}

	public String getAttributeNames() {
		return attributeNames;
	}

	public void setAttributeNames(String attributeNames) {
		this.attributeNames = attributeNames;
	}

	public Boolean getIncludCraft() {
		return includCraft;
	}

	public void setIncludCraft(Boolean includCraft) {
		this.includCraft = includCraft;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public String getInfluenceCraftIds() {
		return influenceCraftIds;
	}

	public void setInfluenceCraftIds(String influenceCraftIds) {
		this.influenceCraftIds = influenceCraftIds;
	}

	public String getOptionJson() {
		return optionJson;
	}

	public void setOptionJson(String optionJson) {
		this.optionJson = optionJson;
	}

	public String getCraftIds() {
		return craftIds;
	}

	public void setCraftIds(String craftIds) {
		this.craftIds = craftIds;
	}

	public long getInfluenceSkuTotalPrice() {
		return influenceSkuTotalPrice;
	}

	public void setInfluenceSkuTotalPrice(long influenceSkuTotalPrice) {
		this.influenceSkuTotalPrice = influenceSkuTotalPrice;
	}
}
